home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C11 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.7 KB  |  95 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C11
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     Reference \
  22.     Pasconst \
  23.     Refptr \
  24.     PassStruct \
  25.     HowMany \
  26.     HowMany2 \
  27.     Linenum \
  28.     Autocc \
  29.     Stopcc \
  30.     Pmem \
  31.     Pmem2 
  32.  
  33. test: all 
  34.     Reference  
  35.     Pasconst  
  36.     Refptr  
  37.     PassStruct  
  38.     HowMany  
  39.     HowMany2  
  40.     Linenum  
  41.     Autocc  
  42.     Stopcc  
  43.     Pmem  
  44.     Pmem2  
  45.  
  46. bugs: 
  47.     @echo No compiler bugs in this directory!
  48.  
  49. Reference: Reference.o 
  50.     $(CPP) $(OFLAG)Reference Reference.o 
  51.  
  52. Pasconst: Pasconst.o 
  53.     $(CPP) $(OFLAG)Pasconst Pasconst.o 
  54.  
  55. Refptr: Refptr.o 
  56.     $(CPP) $(OFLAG)Refptr Refptr.o 
  57.  
  58. PassStruct: PassStruct.o 
  59.     $(CPP) $(OFLAG)PassStruct PassStruct.o 
  60.  
  61. HowMany: HowMany.o 
  62.     $(CPP) $(OFLAG)HowMany HowMany.o 
  63.  
  64. HowMany2: HowMany2.o 
  65.     $(CPP) $(OFLAG)HowMany2 HowMany2.o 
  66.  
  67. Linenum: Linenum.o 
  68.     $(CPP) $(OFLAG)Linenum Linenum.o 
  69.  
  70. Autocc: Autocc.o 
  71.     $(CPP) $(OFLAG)Autocc Autocc.o 
  72.  
  73. Stopcc: Stopcc.o 
  74.     $(CPP) $(OFLAG)Stopcc Stopcc.o 
  75.  
  76. Pmem: Pmem.o 
  77.     $(CPP) $(OFLAG)Pmem Pmem.o 
  78.  
  79. Pmem2: Pmem2.o 
  80.     $(CPP) $(OFLAG)Pmem2 Pmem2.o 
  81.  
  82.  
  83. Reference.o: Reference.cpp 
  84. Pasconst.o: Pasconst.cpp 
  85. Refptr.o: Refptr.cpp 
  86. PassStruct.o: PassStruct.cpp 
  87. HowMany.o: HowMany.cpp 
  88. HowMany2.o: HowMany2.cpp 
  89. Linenum.o: Linenum.cpp ../require.h 
  90. Autocc.o: Autocc.cpp 
  91. Stopcc.o: Stopcc.cpp 
  92. Pmem.o: Pmem.cpp 
  93. Pmem2.o: Pmem2.cpp 
  94.  
  95.